﻿@model ShoppingCartModel.GiftCardBoxModel
@using Nop.Web.Models.ShoppingCart;
@if (Model.Display)
{
    <div class="giftcard-box">
        <h4>
            @T("ShoppingCart.GiftCardCouponCode")
        </h4>
        <div class="hint">@T("ShoppingCart.GiftCardCouponCode.Tooltip")</div>
        <div class="inputs-wrap">
            <div class="text-box-wrap">
                <input name="giftcardcouponcode" type="text" class="gift-card-coupon-code form-control" />
            </div>
            <div class="button-wrap">
                <input type="submit" name="applygiftcardcouponcode" value="@T("ShoppingCart.GiftCardCouponCode.Button")" class="btn btn-default btn-xs apply-gift-card-coupon-code-button" />
            </div>
        </div>
        @if (!String.IsNullOrEmpty(Model.Message))
        {
            <div class="message">
                @Model.Message
            </div>
        }
    </div>
}